export const formatCount = (num) => {
  const numLength = num.toString().length;
  if (numLength <= 4) {
    return num;
  } else if (numLength > 4 && numLength < 8) {
    return (num / 10000).toFixed(1) + "万";
  } else if (numLength === 8) {
    return (num / 10000).toFixed(1) + "万";
  } else {
    return (num / 100000000).toFixed(2) + "亿";
  }
};
